package com.cola.custSpeechTranscription.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @BelongsProject: speechTranscription
 * @BelongsPackage: com.example.demo.config
 * @CreateTime: 2025-10-20  09:26
 * @Description: TODO
 * @Version: 1.0
 */
@Component
@Data
public class CustWebSocketClientConfig {
    /**
     * apId:749215
     */
    @Value("${custom.speechToTextApid:749215}")
    private String speechToTextApid;

    /**
     * appId:300012351793
     */
    @Value("${custom.speechToTextAppId:300012351793}")
    private String speechToTextAppId;

    /**
     * appSecret:EC225F4043C580179899578501C35B31
     */
    @Value("${custom.speechToTextAppSecret:EC225F4043C580179899578501C35B31}")
    private String speechToTextAppSecret;

    /**
     * xForwardedFor:120.238.191.115
     */
    @Value("${custom.speechToTextForwardedFor:120.238.191.115}")
    private String speechToTextForwardedFor;

    /**
     * speechToTextReqUrl:wss://ability.yun.139.com:5000/api/websocket/speech/translate
     */
    @Value("${custom.speechToTextReqUrl}")
    private String speechToTextReqUrl;

    /**
     * appId:dsjwzagt
     */
    @Value("${custom.speechTranscriptionAppId}")
    private String speechTranscriptionAppId;

    /**
     * appKey:07547d0a76df644a7178cea1f7db86da
     */
    @Value("${custom.speechTranscriptionAppKey}")
    private String speechTranscriptionAppKey;


    @Value("${custom.speechTranscriptionApiPath5G}")
    private String speechTranscriptionApiPath5G;

    /**
     * /api/v1/proxy/ast
     */
    @Value("${custom.speechTranscriptionApiPath}")
    private String speechTranscriptionApiPath;
}